Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

show the device and bundle versions on update when verbose is enabled #52

Conversation

slootsky
Copy link
Contributor

when --verbose is enabled, show the device version and bundle version during update

Copy link
Contributor

@askpatrickw askpatrickw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Other than the tiny nitpick on whitespace, this looks good.

circup.py Outdated
@@ -687,6 +687,12 @@ def update(all): # pragma: no cover
click.echo("Please indicate which modules you wish to update:\n")
for module in modules:
update_flag = all
if VERBOSE:
click.echo(
"device version:{} bundle version:{}".format(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How about a little white space since this is for people to read? Like this: "device version: {} bundle version: {}"

Updated to make the text a little nicer
Copy link
Contributor

@makermelissa makermelissa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I updated this. Based on the review by @askpatrickw and adding the requested change, I'm approving. :)

@makermelissa makermelissa merged commit 705c738 into adafruit:master Jan 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants